<template>
  <div>
    <BaseButton>按钮</BaseButton>
  </div>
  <div>
    <NuxtLink to="/">首页</NuxtLink>
    <NuxtLink to="/about">关于</NuxtLink>
  </div>
  <NuxtPage />
  <p>倒计时还剩下：{{ remainingTime }}</p>
</template>

<script setup>
// 测试工具函数
const result = sum(1, 2);
console.log(result);
// 测试组合式函数
// 一小时后
const targetTime = new Date(Date.now() + 60 * 60 * 1000);
const { remainingTime } = useCountdown(targetTime);
</script>
